package jml.config;

import java.util.ArrayList;

public class Library
{
	private String name;
	private ArrayList<String> folders;
	private String cookiesFolder;
	
	public Library()
	{
		folders = new ArrayList<String>();
	}
	
	public void addFolder(String f)
	{
		folders.add(f);
	}
	
	public String[] getFolders()
	{
		String[] r = new String[folders.size()];
		return folders.toArray(r);
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getName()
	{
		return name;
	}

	public void setCookiesFolder(String cookiesFolder)
	{
		this.cookiesFolder = cookiesFolder;
	}

	public String getCookiesFolder()
	{
		return cookiesFolder;
	}
}
